from django.urls import re_path
from . import views

urlpatterns = [
    # 生成图形验证码
    re_path(r'^image_codes/(?P<uuid>[\w-]+)/$', views.ImgVerificationView.as_view()),
    # 发送短信验证码
    re_path(r'^sms_codes/(?P<mobile>1[3-9]\d{9})/$', views.SMSVerificationView.as_view()),
]